Short detector for PROMS

ABSTRACT

Test circuitry is included in a PROM memory for detecting shorts between bit lines and word lines and shorts or leaks in a memory cell. The circuitry enables a selected positive voltage to be applied across all memory cells in the memory so that the existance of leaky memory cells or shorts in the memory can be detected during testing. The test circuitry has no appreciable effect on the memory during normal operation of the memory.

BACKGROUND OF THE INVENTION

1. Field of the Invention

This invention relates to circuitry for the detection of shorts or leaky junctions in programmable read only memories (PROMs).

2. Description of the Prior Art

A programmable read only memory (PROM) is a memory in which information is permanently stored in each memory cell of the memory by a programming process. The programming process is performed by the user after fabrication is complete, in contrast to the programming of ROMS by the manufacturer during the fabrication process.

A short or a leaky junction in a PROM cannot be detected by existing design by the manufacturer prior to shipment. Such a short or leaky junction may cause underprogramming, i.e., one or more memory cells may fail to program when the user attempts to program the PROM. Such a short or leaky junction may also cause overprogramming, i.e., when a programming current is applied to a selected memory cell, one or more different cells may be unintentionally programmed. Because the programming of such PROMS is generally performed by the end user, the manufacturer may become aware of low yields only when the PROM's are rejected by the user.

FIG. 1 illustrates a typical prior art PROM in which the memory includes a rectangular array x_(ij) of NPN transistors and associated fuses f_(ij) connected between word lines W_(j) and bit lines B_(i) for i=1, . . . , N; j=1, . . . M. Prior to programming, each memory cell which includes the transistor x_(ij) and its associated fuses f_(ij) stores a logical 0, i.e., the fuse f_(ij) is not open. A leaky base emitter junction of an NPN transistor or a short between a bit line and a word line may result in a fuse which fails to open when a programming current is attempted to be applied to the fuse. A typical titanium-tungsten (TiW) fuse used in many PROMS requires approximately 3 volts across the fuse in order to produce the approximately 50 milliampere (mA) current required to open the fuse. During normal operation (i.e., reading) of the PROMs the maximum supply voltage, (Vcc), is approximately 5.5 volts, and there is not enough voltage across the fuse to cause the 50 mA of current required to open the fuse.

Accordingly, one of the steps of the programming procedure is to raise the supply voltage Vcc to approximately 12 volts, well above the levels used during reading the PROM. A memory cell to be programmed containing the array transistor x_(ij) is selected by selecting the word line W_(j) and the bit line B_(i). The selected word line and thus the base of the selected transistor x_(ij) is at approximately 8 volts, a voltage level determined by internal clamping circuitry (not shown). The remaining deselected word lines are at approximately 1 volt. The base emitter voltage, V_(BE), of the selected array transistor x_(ij) at a base emitter current of 50 mA is approximately 1.5 volts. So, the emitter of the array transistor x_(ij), which is connected to one end of its associated fuse f_(ij), is at a voltage of approximately 8 volts--1.5 volts=6.5 volts. The programming circuit (not shown) holds the voltage on the selected bit line B_(i) on the other end of the fuse f_(ij) at approximately 1.5 volts if the fuse is to open to store a logical one. Therefore, the voltage across the fuse f_(ij) is approximately 6.5 volts-1.5 volts=5.0 volts which will cause a current greater than 50 mA which will cause the fuse to open, thereby storing a logical one.

Conversely, if the fuse f_(ij) is not to be opened and the cell is to store a logical zero, the bit line B_(i) is held to approximately 7 volts, so that the voltage drop across the fuse f_(ij) is insufficient to cause a current which will cause the fuse to open.

The array transistor x_(ij) provides to its associated fuse f_(ij) a programming current of 50 mA by amplifying the base current supplied to it through transistor x_(j) (the "word driver"). If an emitter-base (EB) junction of an array transistor x_(ij) to be programmed is shorted or has a sufficiently large leakage current, or if there is a short between its word line W_(j) and its bit line B_(i), the drive current supplied by word driver x_(j) is not sufficient to provide enough current to cause the fuse to open.

On the other hand, a short between the base of an array transistor and its associated bit line may cause unintentional programming of another cell on the same bit line. For example, suppose there is a short between the base of transistor X_(IM) (Shown in FIG. 1) and bit line B₁. If word line W₁ is then brought high with the intent of programming transistor x_(N1), fuse f₁₁ may unintentionally be opened by current flowing along the following path: from word line W₁, through the base emitter junction of transistor x₁₁, through fuse f₁₁ to bit line B₁, from bit line B₁ through the short between bit line B₁ and the base of transistor x_(IM), to decode diode D_(m) *, and from decode diode D_(m) * through buffer transistor F₁ to ground. This will cause the undesired programming (opening) of fuse f₁₁.

Prior art PROMs do not contain circuitry to detect the existence of these shorts and therefore since PROMs are typically programmed by the user, defective unprogrammed units may be shipped to the user. This problem does not arise for read-only-memories (ROMs) since these are typically programmed by a mask pattern as a part of the manufacturing process and hence can be tested by the manufacturer prior to shipment.

SUMMARY

This invention includes fault detection circuitry incorporated into a programmable read only memory so that a selected positive voltage can be applied across each memory cell to allow the detection, prior to programming, of shorts between bit lines and word lines and shorts or leaks in a memory cell. By measuring the current flowing into the bit lines, shorts or leaky junctions within memory cells can be detected in unprogrammed devices prior to shipment by the manufacturer. The fault detection circuitry is isolated from the memory during normal operation of the memory, thereby having no adverse effect on the operation of the device.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 shows a prior art memory array using NPN transistors.

FIG. 2 shows one embodiment of the short detecting circuitry of this invention in a memory array.

FIG. 3 shows the current-voltage (I-V) characteristic curve of the circuit shown in FIG. 2 with no shorts or leakage.

FIG. 4 shows the I-V characteristic curve of the circuit shown in FIG. 2 with massive emitter-base (EB) leakage.

FIG. 5 shows the I-V characteristic curve of the circuit shown in FIG. 2 with an emitter-base short or a short between a word line and a bit line.

DETAILED DESCRIPTION

The following description refers to a memory array including NPN transistors and associated addressing circuitry. It will become readily apparent to those of ordinary skill in the art in light of the teachings of this invention that many other embodiments are possible and the following description is intended to be exemplary and not limiting.

FIG. 2 shows a memory array of NPN transistors x_(ij), i=1, . . . , N, j=1, . . . , M with the emitter of x_(ij) connected to the bit line B_(i) through the fuse f_(ij) for i=1, . . . N; j=1, . . . M and the base of x_(ij) connected to the word line W_(j) for i=1, . . . N; j=1, . . . M.

The fuses f_(ij) used in the memory array may be of any convenient type. For example, titanium-tungsten, nickel-chromium, doped polycrystalline silicon, metal alloyed polycrystalline silicon, semiconductor junction fuses, and the like, are used in various embodiments.

Each bit line B_(i) is connected to the emitter of a diode connected transistor D_(i) having an emitter E_(i), a collector C_(i), and a base TB_(i) whose collector C_(i) and base TB_(i) are connected to a common terminal T for receiving a test voltage and whose emitter E_(i) is connected to the collector of a y-decode transistor y_(i), for i=1, . . . N.

Each word line W_(j) is connected to the emitter of an x-decode transistor x_(j), having an emitter Ex_(j), a collector Cx_(j), and a base Bx_(j) for j=1, . . . , M, and to the anode of decode diode D_(j) *, for j=1, . . . , M, the cathode of said decode diode being connected to the collector of an output transistor F₁ of an input buffer, the emitter of said output transistor F₁ being connected to ground, and the base of said output transistor F₁ being connected to the remainder of the input buffer circuitry (not shown).

A constant current source CS_(j) is connected across the collector-base junction of each transistor x_(j) to provide base drive to each transistor x_(j) for j=1, . . . M.

Each base Bx_(j) is connected to the anode of diode D'_(j) whose cathode is connected to the cathode of D_(j) * for j=1, . . . , M.

A clamp transistor C_(i) has its emitter connected to an associated bit line B_(i) for i=1, . . . N.

In one embodiment, a 10K resistor R is connected in series between the terminal T for receiving a test voltage and the anode of diode PD1 whose cathode is connected to the anode of diode PD2 whose cathode is connected to ground. The magnitude of the resistance of the resistor R is selected to appropriately limit the current flowing through diodes PD1 and PD2.

In another embodiment, the cathode of diode PD2 is connected to a means S for receiving a second voltage other than ground.

In another embodiment, the resistor R alone is connected between the terminal T and a terminal S for receiving a reference voltage.

Testing for shorts or leakage in the memory array A shown in FIG. 2 is performed in the following manner.

First, the clamp transistors C_(i) for i=1, . . . N are turned off by raising the voltage on the base of the PNP transistors C_(i) above the voltage required to turn the transistor on;

Next, the NPN Y-decode transistors Y_(i) for i=1, . . . , N, are turned off by pulling their bases below the voltage required to turn the transistors on, thus preventing any of the bit lines B₁ through B_(N) from being selected;

Then, the X-decode is disabled by pulling the voltage on all of the word lines down through the decode diodes D_(j) * for j=1, . . . , M and the output transistor F₁ of an input buffer (not shown).

Next, a test voltage is applied to the terminal T, and

Finally, the current flowing into the terminal T is measured and the current flowing from terminal T through the PROM array is calculated.

To perform the test for the embodiment shown in FIG. 2, a positive 3 volts is applied to the terminal T. The presence or absence of a short in one of the transistors x_(ij) or between a word line and a bit line is determined by the amount of current flowing into the terminal T.

For a good memory with no shorts or leakage, current will flow from the terminal only through the 10K resistor R, and through the diodes PD1 and PD2 to ground. Assuming a 0.8 voltage drop across each of forward biased diodes PD1 and PD2, the value of the current going into the terminal measured at 3V is: ##EQU1##

The I-V characteristic curve for the circuit of FIG. 2 which has no shorts or leakage is shown in FIG. 3, and has a slope equal to the reciprocal of the value of resistor R. Current begins to flow into the terminal T when the voltage applied to T is approximately 1.6 volts, which is the minimum voltage required to turn on the diodes PD₁ and PD₂.

If there is emitter-base (EB) leakage in any transistor x_(ij) in the array but no EB short nor metal short in the array, current will flow also from terminal T through diode D_(i), through the EB leak in x_(ij), through decode diode D_(j) * finally through input buffer F1 to ground. The amount of leakage current flowing into the terminal T depends on how many array transistors leak and how much each leaks. A typical I-V characteristic curve for the circuit shown in FIG. 2 which has EB leakage in one or more array transistors x_(ij) but no EB shorts or metal shorts in the array is shown in FIG. 4. It is similar to FIG. 3, except that the current flowing into terminal T is higher than it should be for a good memory, and the slope of the curve is no longer equal to the reciprocal of the value of resistor R. The slope is equal to (1/R) +(1/R₁) where R₁ is the effective resistance of the parallel current path from the terminal T through the leak or leaks to buffer transistor F₁ to ground. Again current begins to flow when the voltage applied to T is approximately 1.6 volts, the minimum voltage required to turn on diode D_(i) and decode diode D_(j) * and provide the saturation voltage of transistor F₁ or alternatively the minimum voltage required to turn on diodes PD₁ and PD₂. This sort of leakage may have an effect on the programming yield and T_(AA) (address access time).

If an EB short or bit line to word line short occurs in the array shown in FIG. 2, current from the terminal T will flow through at least one forward biased diode D_(i) through the short or shorts, through at least one decode diode D_(j) * and through input buffer transistor F₁ to ground. The I-V characteristic for the circuit of FIG. 2 in which there is an EB short in an array transistor or a short between a word line and a bit line is shown in FIG. 5. Of importance, the current will be much higher than in either of the two previous cases. This occurs because there is a low resistance path from the terminal T through the short or shorts, and then through F₁ to ground. Again, the slope of the curve is given by 1/R+1/R₁ where R₁ is the effective resistance of the low resistance path.

Devices with EB shorts and/or a short between a word line and a bit line will be rejected during the testing phase of production.

Devices having excessive EB leakage will also be rejected. Limits for allowable leakage depend on the size of the device, and there will, of course, always be nominal leakage in the PROM array. The ultimate test for allowable leakage is whether the device is programable, which may be established by testing. In a typical PROM containing an array of NPN transistors, a workable first approximation may be to reject dice with leakage of 5 times nominal leakage.

It will be clear to one of ordinary skill in the art that various substitutions and modifications may be made in the testing circuitry described herein without departing from the spirit and scope of the invention. In particular, one may modify the circuitry so that memory cells on selected word lines or selected bit lines are tested or so that selected memory cells are tested individually. 

I claim:
 1. In a semiconductor device comprising at least one programmable cell and at least one bit line, a circuit for detecting shorts or leakage currents comprising:means for receiving a selected test voltage; means for receiving a reference voltage; means, connected between said means for receiving a selected test voltage and each of said bit lines, for applying a predetermined portion of said selected test voltage to each of said bit lines; and means, connected between each of said bit lines and said means for receiving a reference voltage, for isolating said semiconductor device from said reference voltage when said selected test voltage is not being received.
 2. The circuit in claim 1 wherein said means for applying a predetermined portion of said selected test voltage comprises a bipolar transistor for each bit line in said semiconductor device each said transistor having an emitter, a collector, and a base lead, said base lead being connected to said means for receiving a selected test voltage and to said collector, and said emitter being connected to said bit line.
 3. The circuit in claim 1 wherein said means for isolating comprises a resistor connected between said means for receiving a selected test voltage and said means for receiving a reference voltage.
 4. The circuit in claim 1 wherein said means for isolating comprises said means for applying and a resistor having two ends together with a plurality of diodes PD₁, PD₂ . . . PD_(K) where K is a positive integer, one end of said resistor being connected to said means for receiving a selected test voltage, the other end of said resistor being connected to the anode of PD₁, the cathode of PD_(i) being connected to the anode of PD_(i+1) for all i=1, . . . , K-1, and the cathode of PD_(K) being connected to said means for receiving said reference voltage.
 5. The circuit in claim 4 wherein K=2.
 6. The circuit in claim 1 further comprising a reference voltage source.
 7. the circuit in claim 6 wherein said reference voltage source is ground.
 8. The circuit in claim 6 further comprising a selected test voltage source.
 9. The circuit in claim 8 further comprising means for measuring the current flowing into said means for receiving said selected test voltage.
 10. The method of testing for shorts or current leakage in a semiconductor device having at least one bit line and at least one word line and associated addressing circuitry which comprises the steps of:applying a first selected voltage to each said bit line in said semiconductor device sufficient to disable said bit line's associated addressing circuitry; applying a second selected voltage to each said word line in said semiconductor device sufficient to disable said word line's associated addressing circuitry; applying a selected portion of a selected test voltage to each said bit line in said semiconductor device and measuring the total current that flows into said bit lines.
 11. The method of testing for shorts or current leakage in a semiconductor device having at least one bit line, at least one word line, and a decode transistor for each bit line, a decode transistor and a decode diode for each word line, and an input buffer having an output transistor, comprising the steps ofturning off the decode transistor for each said bit line; turning off the decode transistor for each said word line by pulling each word line down through the decode diode for each word line by connecting the emitter of the output transistor of an input buffer to ground; applying a selected portion of a selected test voltage to each bit line in said device, and measuring the total current that flows into said bit lines.
 12. The method of testing for shorts or current leakage in a semiconductor device having at least one bit line, at least one word line, a clamp transistor and a decode transistor for each bit line, a decode transistor and a decode diode for each word line, and an input buffer having an output transistor, which comprises the steps of:turning off the clamp transistor for each bit line; turning off the decode transistor for each bit line; turning off the decode transistor for each word line by pulling each word line down through the decode diode for each word line by connecting the emitter of the output transistor of an input buffer to ground; applying a selected portion of a selected test voltage to each bit line in said device; and measuring the total current that flows into said bit lines.
 13. In a semiconductor device comprising at least one programmable cell and at least one bit line, a circuit for detecting shorts or leakage currents comprising:means for receiving a selected test voltage; means for receiving a reference voltage; means, connected between said means for receiving a selected test voltage and said bit line, for applying a predetermined portion of said selected test voltage to said bit line; and means, connected between said bit line and said means for receiving a reference voltage, for isolating said semiconductor device from said reference voltage when said selected test voltage is not being received. 